package com.person.android.utils;

import android.os.Bundle;
import android.os.Handler;
import android.os.Message;

/**
 * @autor zhaokang.
 * @time on 2015/12/12.
 */
public class MessageSendUtils {
    public static void sendMessage(Handler handler,int type){
        Message msg = new Message();
        Bundle data = new Bundle();
        msg.setData(data);
        msg.what = type;
        handler.sendMessage(msg);
    }
}
